/*
 * @description: 
 * @Author: Islands
 * @Date: 2024-06-22 17:54:17
 * @LastEditTime: 2024-06-24 11:43:02
 */
import type { FormRules } from 'element-plus'
import { PropType } from "vue";
import {IFormConstant} from '@/api/types/index.d'

export const props = {
    inline: {
        Type: Boolean,
        default: false
    },
    constants: {
        type: Object as PropType<Array<IFormConstant>>,
        required: true
    },
    data: {
        type: Object as PropType<any>,
        default: {},
        required: true
    },
    rules: {
        type: Object as PropType<FormRules>,
        default: {},
    },
    labelWidth: {
        type: String,
        default: '100px'
    }
};

